<?php
namespace BP\Frm;
require_once("BP/En/Map.php");
class StationCreate extends EntityMM {
	public function getHisUAC () 
	{
		$uac = new UAC();
		$uac->OpenAll();
		return $uac;
	}
	public function getFrmID () 
	{
		return $this->GetValIntByKey(StationCreateAttr::$FrmID);
	}
	public function setFrmID ($value) // [int value]
	{
		$this->SetValByKey(StationCreateAttr::$FrmID, $value);
	}
	public function getFK_StationT () 
	{
		return $this->GetValRefTextByKey(StationCreateAttr::$FK_Station);
	}
	public function getFK_Station () 
	{
		return $this->GetValStringByKey(StationCreateAttr::$FK_Station);
	}
	public function setFK_Station ($value) // [String value]
	{
		$this->SetValByKey(StationCreateAttr::$FK_Station, $value);
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public function getEnMap () 
	{
		if (($this->get_enMap() != NULL))
		{
			return $this->get_enMap();
		}
		$map = new Map("Frm_StationCreate", "单据岗位");
		$map->AddTBStringPK(StationCreateAttr::$FrmID, NULL, "表单",  TRUE ,  TRUE , 1, 100, 100);
		$map->AddDDLEntitiesPK(StationCreateAttr::$FK_Station, NULL, "可以创建岗位", new Stations(),  TRUE );
		$this->set_enMap($map);
		return $this->get_enMap();
	}
}
?>
